package com.huawei.order;

import java.io.Serializable;

/**
 * @author liucheng
 * @since 0.1 2023-11-12 20:44
 **/
public class Order implements Serializable {
    private static final long serialVersionUID = 1L;

    private String name;

    private int price;

    public Order() {
        super();
    }

    public Order(String name, int price) {
        super();
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public int getPrice() {
        return price;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Order [name=" + name + ", price=" + price + "]";
    }
}
